package fields

Import Path
	github.com/K-Phoen/grabana/timeseries/fields (on go.dev)

Dependency Relation
	imports 2 packages, and imported by one package

Involved Source Files matcher.go override.go
Package-Level Type Names (total 4)
/* sort by: | */
func ByType(fieldType FieldType) Matcher const FieldTypeTime
func ByName(name string) Matcher func ByQuery(ref string) Matcher func ByRegex(regex string) Matcher func ByType(fieldType FieldType) Matcher func github.com/K-Phoen/grabana/timeseries.FieldOverride(m Matcher, opts ...OverrideOption) timeseries.Option
func AxisPlacement(placement axis.PlacementMode) OverrideOption func FillOpacity(opacity int) OverrideOption func FixedColorScheme(color string) OverrideOption func NegativeY() OverrideOption func Stack(mode StackMode) OverrideOption func Unit(unit string) OverrideOption func github.com/K-Phoen/grabana/timeseries.FieldOverride(m Matcher, opts ...OverrideOption) timeseries.Option
StackMode configures mode of series stacking. FIXME: copied here to avoid circular imports with parent package func Stack(mode StackMode) OverrideOption const NormalStack const PercentStack const Unstacked
Package-Level Functions (total 10)
AxisPlacement overrides how the axis should be placed in the panel.
ByName matches a specific field name.
ByQuery matches all fields returned by the given query.
ByRegex matches fields names using a regex.
ByType matches fields with a specific type.
FillOpacity overrides the opacity.
FixedColorScheme forces the use of a fixed color scheme.
NegativeY flips the results to negative values on the Y axis.
Stack overrides if the series should be stacked and using which mode (default not stacked).
Unit overrides the unit.
Package-Level Constants (total 4)
const FieldTypeTime FieldType = "time"
NormalStack will stack series as absolute numbers
PercentStack will stack series as percents
Unstacked will not stack series